<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<script src="js/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="js/workData.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
$(function(){
	$("#submitter").click(function(){
		var fso, ts, s; 
		alert(0);
		fso=new ActiveXObject("Scripting.FileSystemObject");
		alert(1);
		f2=fso.CreateTextFile("c:\\datafile.txt",true);
		alert(2);
		for(var i = 0 ; i < arr.length; i++)
		{
			//alert(arr[i][1].length);
			if(arr[i][1].length==7)
			{
				f2.WriteLine(arr[i][1]+","+arr[i][2]); 
			}
		}
		f2.Close(); 
		alert("succues");
	});
});
function makefile()
{
		
}
</script>
</head>
<body>
<input type="image" src="images/submit.gif" id="submitter" class="submit" name="button" />
</body>
</html>